from flask import Flask
from flask_sqlalchemy import SQLAlchemy
import os

app = Flask(__name__)
app.config.from_pyfile('config.py')
db = SQLAlchemy(app)


abspath = os.getcwd()  # 获取当前路径
rss_path = abspath+app.config['RSS_PATH']
sign_key = app.config['SIGN_KEY']
if not os.path.exists(rss_path):
    os.mkdir(rss_path)


import weiboRss.main